<?php

namespace AppBundle\Repository;

use Gedmo\Tree\Traits\Repository\ORM\NestedTreeRepositoryTrait;

use Doctrine\ORM\EntityRepository;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\Mapping\ClassMetadata;

class CategoryRepository extends EntityRepository{


    public function __construct(EntityManager $em,ClassMetadata $class){
      parent::__construct($em,$class);

      $this->initializeTreeRepository($em, $class);
    }
}
